package concreteComponents;

import java.util.Random;

import abstractComponent.Fuente;


public class Secuencial extends Fuente {

	private int contador = 0;
	
	public int accion() {
		try {
			Thread.sleep(new Random().nextInt(500));
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return contador++;
	}

}
